﻿CREATE TABLE [dbo].[AppController] (
    [Id]          INT            IDENTITY (1, 1) NOT FOR REPLICATION NOT NULL,
    [CName]       NVARCHAR (50)  NULL,
    [Title]       NVARCHAR (50)  NULL,
    [Description] NVARCHAR (200) NULL,
    [Enabled]     BIT            CONSTRAINT [DF_AppController_Enabled] DEFAULT (0) NULL,
    [CreateTime]  DATETIME       NULL,
    [Sort]        INT            CONSTRAINT [DF_AppController_Sort] DEFAULT (0) NULL,
    CONSTRAINT [PK_AppController] PRIMARY KEY CLUSTERED ([Id] ASC)
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Controller 名称', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'AppController', @level2type = N'COLUMN', @level2name = N'CName';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Controller 名称(中文)', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'AppController', @level2type = N'COLUMN', @level2name = N'Title';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'说明', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'AppController', @level2type = N'COLUMN', @level2name = N'Description';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'是否可用', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'AppController', @level2type = N'COLUMN', @level2name = N'Enabled';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'创建时间', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'AppController', @level2type = N'COLUMN', @level2name = N'CreateTime';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'排序', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'AppController', @level2type = N'COLUMN', @level2name = N'Sort';

